<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../common/head.jsp"%>
<c:forEach items="${doctors}"  var="doc">
    <div class="weui-form-preview">
        <div class="weui-form-preview__bd">
            <div class="weui-form-preview__item">
                <div class="doctor-info" >
                    <a href="#" class=" weui-cell_access ">
                        <div class="info-block avatar-b">
                            <img class="avatar-img" src="${doc.picPath}" alt="" width="50px">
                        </div>
                        <div class="info-block" id="doctorInfo" >
                            <h3 class="weui-media-box__title">${doc.doctorname}
                                <c:if test="${doc.isauthentication ==2 }">
                                <span ><img  src="${doc.picPath}" alt="" width="24px" style="vertical-align: middle"></span>
                                </c:if>
                            </h3>
                            <p class="weui-media-box__desc" style="font-size: 11px;">医生</p>
                            <p class="weui-media-box__desc" style="font-size: 11px;">${doc.address}</p>
                            <span class="link-array link-array-right"></span>
                        </div>
                    </a>
                </div>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">公 告 ：</label>
                <span class="weui-form-preview__value">${doc.noticeContent}</span>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">擅 长 ：</label>
                <span class="weui-form-preview__value">${doc.specialty}</span>
            </div>
            <div class="weui-form-preview__item">
                <label class="weui-form-preview__label">门 诊 ：</label>
                <span class="weui-form-preview__value">${doc.address}</span>
            </div>
        </div>
        <div class="weui-form-preview__ft">
            <a class="weui-form-preview__btn weui-form-preview__btn_default shareLink" href="javascript:" doctorId="${doc.doctorId}" doctorname="${doc.doctorname}" docAvatar="${doc.picPath}"><i class="fa fa fa-qrcode" aria-hidden="true"></i> 分享二维码</a>
            <a  class="weui-form-preview__btn weui-form-preview__btn_primary consultLink" href="javascript:;"  doctorId="${doc.doctorId}"><i class="fa fa fa-stethoscope" aria-hidden="true"></i> 咨询</a>
        </div>
    </div>
</c:forEach>
<script>

</script>